package com.open.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class RouterController {


    @GetMapping(value = "/")
    public String main(){
        return "layout.html";
    }

    @GetMapping(value = "/index")
    public String index(){
        return "index.html";
    }

    @GetMapping(value = "/holidayManager")
    public String holidayManager(){
        return "holiday.html";
    }

    @GetMapping(value = "/orderManager")
    public String orderManager(){
        return "order.html";
    }

}
